package com.ddtech.business.task.vo.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author bin
 */
@Data
public class MyTaskCourseVo {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "主题图片")
    private String themeImage;

    @ApiModelProperty(value = "课件学时(秒)")
    private Integer classHour;

    @ApiModelProperty(value = "已学时长")
    private Integer duration;


    @ApiModelProperty(value = "是否完成")
    private Integer isFinish;

    @ApiModelProperty(value = "课程学习完成百分比")
    private Double finishPercent;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
